<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<!--  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆界面</title>
</head>
<body bgcolor="#82CA9C">
	<h1 align="center">会员登录</h1>
	<form action="manager_login" method="post">
		<table cellpadding="5px" cellspacing="0" align="center">
			<tr>
				<td>&nbsp;邮箱：</td>
				<td><input type="text" name="email"></td>
			</tr>
			<tr>
				<td>&nbsp;密码：</td>
				<td><input type="password" name="password" /></td>
				<td><span style="color: red">${upMsg}</span></td>
			</tr>
			<tr>
				<td>验证码：</td>
				<td><input id="imagecode" name="imagecode" placeholder="不区分大小写"/></td>
				<!-- 调用一个Servlet生成一个图片验证码 -->
				<td><img src="${pageContext.request.contextPath}/randomCode"/></td>
				<td><span style="color: red">${errorMsg}</span></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="submit" value="提交"><input
					type="reset" value="重置"><a style="margin-left: 7%"
					href="${pageContext.request.contextPath}/unchecked/register.jsp">注册</a></td>
				<td><a href="${pageContext.request.contextPath}/index">主页</a></td>
			</tr>
		</table>
	</form>
</body>
</html>